### Project 16 Analog Alcohol Sensor ![](media/image-20251125112626638.png) **1.Introduction** This analog gas sensor - MQ3 is suitable for detecting alcohol. It can be used in a Breath analyzer. Also it has high sensitivity to alcohol and low sensitivity to Benzine. The sensitivity can be adjusted by the potentiometer. **2.Specification** - Power supply: 5V - Interface type: Analog - Quick response and High sensitivity - Simple drive circuit - Stable and long service life - Size: 49.7*20mm - Weight: 6g **3.Connection Diagram** ![](media/image-20251125174820283.png) **4.Sample Code** ```c //Arduino Sample Code void setup() { Serial.begin(9600); //Set serial baud rate to 9600 bps } void loop() { int val; val=analogRead(0);//Read Gas value from analog 0 Serial.println(val,DEC);//Print the value to serial port delay(100); } ```